gl: Use the appropriate formats when reading buffers on GLES
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 23 Apr 2016 11:16:03 +0000 (12:16 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 25 Apr 2016 11:29:37 +0000 (12:29 +0100)
commita942e96c8fc0f6912ed2e44e81d0dd1d53645e11
treed28a0ac77e25b605737150d1d58978b640280a07
parent5b03cf175a40a52034612245b288352019d79843
gl: Use the appropriate formats when reading buffers on GLES

We cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV when reading back
from the frame buffer in the software fallback path, as they do not
exist on OpenGL ES.

This will make the slow path a bit slower, because of the implicit
format conversion.
gdk/gdkgl.c